package com.facebank.usersupport.service;

import com.facebank.usersupport.model.DgutComment;
import com.facebank.usersupport.model.DgutNotes;
import com.facebank.usersupport.model.RestModel;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;

public interface INotesService {

    /**
     * 添加游记
     */
    RestModel add(String content,HttpSession session);

    /**
     * 显示社区游记
     */
    RestModel show();

    /**
     * 显示个人游记
     */
    RestModel person(Long assId);

    /**
     * 显示游记详情
     */
    RestModel detail(Long notesId);

    /**
     * 提交评论
     */
    RestModel addComment(DgutComment comment);

    /**
     * 查看评论
     */
    RestModel showComment(Long notesId);


    /**
     * 点赞
     */
    RestModel like(Long notesId, HttpSession session);
}




